<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <h:outputStylesheet library="css" name="default.css"/>
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <h:form>
            <h:panelGrid columns="6" columnClasses="alinizp,alinizq,alinizq,alinder,alinizq,alinizq" >
                <h:outputLabel value="Id " for="car000" styleClass="requiredLbl" />
                <h:inputText value="#{ctrCarreras.activeReg.ncodigo}" id="car000" size="5" required="true"  requiredMessage="Campo requerido vacio" />
                <h:message for="car000"/>
                
                <h:panelGroup/>  <h:panelGroup/>  <h:panelGroup/>
                <h:outputLabel value="Carrera" for="car001" styleClass="requiredLbl"/>
                <h:inputText value="#{ctrCarreras.activeReg.cnombre}" id="car001" size="30"/>
                <h:message for="car001"/>
                <h:outputLabel value="Campus" for="car002" styleClass="optionalLbl" />
                <h:inputText value="#{ctrCarreras.activeReg.ccampus}" id="car002" size="30"/>
                <h:message for="car002"/>
                <h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/>
                <h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/>
                <h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/>
                <h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/>
                <h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/><h:panelGroup/>
                <p:commandButton actionListener="#{ctrCarreras.save}" value="Save" />
            </h:panelGrid>
         </h:form>
    </h:body>
</html>

